package org.jxc.web.action;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.jxc.constants.JXCString;
import org.jxc.domain.OutOrder;
import org.jxc.domain.OutOrderProduct;
import org.jxc.domain.Product;
import org.jxc.domain.ProductWarehouseStock;
import org.jxc.domain.SalesOrder;
import org.jxc.domain.SalesOrderProduct;
import org.jxc.domain.Warehouse;
import org.jxc.service.OutOrderProductService;
import org.jxc.service.OutOrderService;
import org.jxc.service.ProductService;
import org.jxc.service.SalesOrderProductService;
import org.jxc.service.SalesOrderService;
import org.jxc.service.StockService;
import org.jxc.service.WarehouseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.team4.domain.Dictionary;
import org.team4.exception.CRUDException;
import org.team4.service.DictionaryService;
import org.team4.util.LoginBean;
import org.team4.web.action.GenericAction;

@Controller
@Scope("prototype")
public class SalesOrderProductAction extends GenericAction<SalesOrderProduct> {
	private static final long serialVersionUID = -4665378081525232678L;
	@Autowired
	private SalesOrderProductService salesOrderProductService;
	
	public String choose() throws Exception {
		page = salesOrderProductService.listPagination(page, searchType, searchValue);
		return SUCCESS;
	}
}
